package com.cskaoyan.catmall.config.keyword;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 创建日期: 2022/01/07 18:17
 *
 * @author WangZhe
 * 备注:
 */
public class DateUtils{

    private static SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

    public static String formatDate(Date date){
        return simpleDateFormat.format(date);
    }

}